[INFO] fetching crate ra_ap_parser 0.0.187...
[INFO] checking ra_ap_parser-0.0.187 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate ra_ap_parser 0.0.187 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate ra_ap_parser 0.0.187 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ra_ap_parser 0.0.187
[INFO] finished tweaking crates.io crate ra_ap_parser 0.0.187
[INFO] tweaked toml for crates.io crate ra_ap_parser 0.0.187 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ra-ap-rustc_index v0.20.0
[INFO] [stderr]   Downloaded ra-ap-rustc_lexer v0.20.0
[INFO] [stderr]   Downloaded ra-ap-rustc_abi v0.20.0
[INFO] [stderr]   Downloaded ra_ap_limit v0.0.187
[INFO] [stderr]   Downloaded ra_ap_rustc-dependencies v0.0.187
[INFO] [stderr]   Downloaded unicode-properties v0.1.1
[INFO] [stderr]   Downloaded ra-ap-rustc_index_macros v0.20.0
[INFO] [stderr]   Downloaded ra-ap-rustc_parse_format v0.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9
[INFO] running `Command { std: "docker" "start" "-a" "7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9", kill_on_drop: false }`
[INFO] [stdout] 7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080
[INFO] running `Command { std: "docker" "start" "-a" "687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080", kill_on_drop: false }`
[INFO] [stderr]     Checking unicode-properties v0.1.1
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking ra_ap_limit v0.0.187
[INFO] [stderr]     Checking drop_bomb v0.1.5
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking ra-ap-rustc_lexer v0.20.0
[INFO] [stderr]    Compiling ra-ap-rustc_index_macros v0.20.0
[INFO] [stderr]     Checking ra-ap-rustc_index v0.20.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ra-ap-rustc_parse_format v0.20.0
[INFO] [stderr]     Checking ra-ap-rustc_abi v0.20.0
[INFO] [stderr]     Checking ra_ap_rustc-dependencies v0.0.187
[INFO] [stderr]     Checking ra_ap_parser v0.0.187 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]  --> src/tests/top_entries.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use expect_test::expect;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]   --> src/tests.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use expect_test::expect_file;
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |     for comment_block in sourcegen::CommentBlock::extract_untagged(s) {
[INFO] [stdout]    |                          ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let grammar_dir = sourcegen::project_root().join(Path::new("crates/parser/src/grammar"));
[INFO] [stdout]    |                       ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let tests_dir = sourcegen::project_root().join(into);
[INFO] [stdout]    |                         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             sourcegen::ensure_file_contents(&path, &test.text);
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     for entry in sourcegen::list_rust_files(dir) {
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect_test`
[INFO] [stdout]    --> src/tests/top_entries.rs:309:53
[INFO] [stdout]     |
[INFO] [stdout] 309 | fn check(entry: TopEntryPoint, input: &str, expect: expect_test::Expect) {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ra_ap_parser` (lib test) due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080", kill_on_drop: false }`
[INFO] [stdout] 687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080
